#!/bin/bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
PROJECTS=("fxk-boot-dependencies" "fxk-boot-parent" "fxk-boot-starter-micrometer" "fxk-boot-starter-redis"
  "fxk-boot-starter-mybatis-plus" "fxk-boot-starter-distributed-lock" "fxk-boot-starter-elasticsearch"
  "fxk-boot-starter-enum" "fxk-boot-starter-generator" "fxk-boot-starter-log" "fxk-boot-starter-web"
  "fxk-boot-starter-xxl-job" "fxk-boot-starter-mqbroker" "fxk-boot-starter-canal" "fxk-boot-starter-jenkins"
  "fxk-boot-starter-upush" "fxk-boot-starter-plumelog" "fxk-boot-starter-springfox" "fxk-boot-starter-apollo-openapi")
for PROJECT in "${PROJECTS[@]}"; do
  cd ${DIR}/$PROJECT
  mvn clean deploy
done
